package edu.weseda.simulator;


public class Sensor {

	private Position position;
	private double target;
	private double dayLight;//target subtracts natural illumination  
	private double illumination;
	private int sequence;
	private double estimation;
	
	
	public double getEstimation() {
		return estimation;
	}

	public void setEstimation(double estimation) {
		this.estimation = estimation;
	}

	public Position getPosition() {
		return position;
	}
	
	public void setPosition(Position position) {
		this.position = position;
	}
	
	public double getTarget() {
		return target;
	}
	
	public void setTarget(double target) {
		this.target = target;
	}
	
	public double getTargetWithDayLight() {
		return (target - dayLight) > 0 ? (target - dayLight) : 0;
	}

	
	public void setDayLight(double dayLight) {
		this.dayLight = dayLight;
	}
	
	public double getDayLight(){
		return dayLight;
	}

	public double getIllumination() {
		return illumination;
	}
	
	public void setIllumination(double illumination) {
		this.illumination = illumination;
	}
	
	public int getSequence(){
		return sequence;
	}
	
	public void setSequence(int sequence){
		this.sequence = sequence;
	}
	
}
